package com.wn.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * (Guideinfo)实体类
 *
 * @author makejava
 * @since 2020-10-26 09:30:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Guideinfo implements Serializable {
    private static final long serialVersionUID = 713489968134412465L;

    private String id;

    @NotEmpty(message = "姓名不能为空")
    @Size(min = 2,max = 5,message = "长度在 2 到 5 个字符")
    private String guidename;

    @Size(min = 1,max = 1,message = "长度 1 个字符")
    private String guidesex;

    @ApiModelProperty(name = "headPic",value = "头像",example = "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif")
    private String guideimg;

    @NotEmpty(message = "不能为空")
    private String guideleve;
    /**
     * 评价
     */
    private String clientassess;
    /**
     * 线路信息表外键
     */
    private String routesid;
    /**
     * 经度
     */
    private Double longitude;
    /**
     * 纬度
     */
    private Double latitude;

    private String createuserid;

    private Date createtime;

    private String updateuserid;
    private String updatauserid;
    private Date updatetime;
    /**
     * 0未删除1已删除
     */
    private Integer isdeleted;


}